# -*- coding: utf-8 -*-
"""
author:码同学 极光
date:2023-01-15
desc: 
sample: 
"""
from rest_framework.routers import SimpleRouter

from .views import ProjectViewSet, ModuleInfoViewSet, TestApiInfoViewSet, EnvInfoViewSet, TestCaseViewSet, \
    TestApiResultViewSet

router = SimpleRouter()
router.register("api/project", ProjectViewSet)
router.register("api/module", ModuleInfoViewSet)
router.register("api/testApiinfo", TestApiInfoViewSet)
router.register("api/env", EnvInfoViewSet)
router.register("api/case", TestCaseViewSet)
router.register("api/result", TestApiResultViewSet)

urlpatterns = [
]
urlpatterns += router.urls